package com.xinyuan.plug.model;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author LiuChenghui 2025/10/24 09:09:00
 */
public class EntityInfo implements Serializable {
    private String className;
    private String simpleName;
    private String tableName;
    private List<FieldInfo> fields;
    private String packageName;

    public String getClassName() {
        return className;
    }

    public EntityInfo setClassName(String className) {
        this.className = className;
        return this;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public EntityInfo setSimpleName(String simpleName) {
        this.simpleName = simpleName;
        return this;
    }

    public String getTableName() {
        return tableName;
    }

    public EntityInfo setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    public List<FieldInfo> getFields() {
        return fields;
    }

    public EntityInfo setFields(List<FieldInfo> fields) {
        this.fields = fields;
        return this;
    }

    public String getPackageName() {
        return packageName;
    }

    public EntityInfo setPackageName(String packageName) {
        this.packageName = packageName;
        return this;
    }
}
